﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Datos;

namespace Trade
{
    public partial class GeneralReport : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            ReportViewer1.Report = CreateReportPurchaseOrder(51,1);
        }

        private DevExpress.XtraReports.UI.XtraReport CreateReportPurchaseOrder(int id_empresa, int numero_orden)
        {
            GeneralPurchaseReport report = new GeneralPurchaseReport();
            report.setReport_Parameters(id_empresa, numero_orden);

            return report;
        }
    }
}